import cv2

video_path = '../datasets/videos/riskvideo.mp4'
video = cv2.VideoCapture(video_path)
while video.isOpened():
    image = video.read()
    pass